package com.zhiqihang.ziqihangserverteacher.pojo.DTO;


import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotBlank;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class TeacherQuery {
    @ApiModelProperty(value = "教师Id")
    private Long id;
    @NotBlank
    @ApiModelProperty(value = "教师姓名")
    private String name;
    @ApiModelProperty(value = "教师职称")
    private String title;
    @ApiModelProperty(value = "在职状态")
    private Integer status;

}
